package com.athena.crm.domain.bo;

import com.athena.common.core.validate.AddGroup;
import com.athena.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.athena.common.core.domain.BaseEntity;

/**
 * 客户跟进记录业务对象 crm_customer_follrecords
 *
 * @author ruoyi
 * @date 2023-09-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class CrmCustomerFollrecordsBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotBlank(message = "主键id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 客户ID
     */
    @NotBlank(message = "客户ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customerId;

    /**
     * 流水类型 operate_log/sales_flow
     */
    @NotBlank(message = "流水类型 operate_log/sales_flow不能为空", groups = { AddGroup.class, EditGroup.class })
    private String flowType;

    /**
     * 跟进人
     */
    @NotBlank(message = "跟进人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String followUser;

    /**
     * 跟进内容
     */
    @NotBlank(message = "跟进内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String followContent;

    /**
     * 是否删除：0未删除，1已删除
     */
    @NotNull(message = "是否删除：0未删除，1已删除不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long isDeleted;


}
